﻿using IdGen;
using System;
using Volo.Abp;
using Volo.Abp.Auditing;
using Volo.Abp.Domain.Entities;
using Volo.Abp.MultiTenancy;

namespace Shared.Domain
{
    public class LongEntityOnlyDelete : Entity<long>, IMultiTenant, IDeletionAuditedObject
    {
        protected LongEntityOnlyDelete() : base(new IdGenerator(0).CreateId())
        {
        }

        public Guid? TenantId { get; set; }

        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDeleted { get; set; }


        /// <summary>
        /// 删除人
        /// </summary>
        public Guid? DeleterId { get; set; }

        /// <summary>
        /// 删除时间
        /// </summary>
        public DateTime? DeletionTime { get; set; }




    }
}
